<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<script type="text/javascript" src="./jquery/jquery.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="./jquery/jquery.easyui.min.js" charset="utf-8"></script>
    <script type="text/javascript" src="./jquery/easyui-lang-zh_CN.js" charset="utf-8"></script>
	<link rel="stylesheet" type="text/css" href="./jquery/themes/default/easyui.css" charset="utf-8">
    <link rel="stylesheet" type="text/css" href="./jquery/themes/icon.css" charset="utf-8">
    <link rel="stylesheet" type="text/css" href="./jquery/demo/demo.css" charset="utf-8"> 
    
    <link rel="stylesheet" type="text/css" href="./oa/styles/theme.css" />
	<link rel="stylesheet" type="text/css" href="./oa/styles/error.css" />
	<link rel="stylesheet" type="text/css" href="./oa/js/extends/easyvalidator/css/validate.css" />
	
	
	<script type="text/javascript" src="./oa/js/extends/json2form.js"></script>
	<script type="text/javascript" src="./oa/js/extends/jquery.form2json.js"></script>
	<script type="text/javascript" src="./oa/js/extends/json2.js"></script>
	<script type="text/javascript" src="./oa/js/extends/jquery.blockUI.min.js"></script>
	<script type="text/javascript" src="./oa/js/extends/easyvalidator/js/easy_validator.pack.js"></script>
	<script type="text/javascript" src="./oa/pages/jsp/commom/common.js"></script>
    
    <link rel="stylesheet" type="text/css" href="./oa/styles/theme.css" />
	<link rel="stylesheet" type="text/css" href="./oa/styles/error.css" />
	<link rel="stylesheet" type="text/css" href="./oa/js/extends/easyvalidator/css/validate.css" />
    
    
    <script type="text/javascript">
    	<%@ include file="waterElectricityEdit.js" %>
    </script>

</head>
<body>
	<input id="id" type="hidden" value='<c:out value="${record.id }"></c:out>' >
	<div class="main" style="align="center" class="main" style="width: 70%;margin: 0 auto;"">
	<form id="scheduleForm">
	<table class="inputTable" cellpadding="0" cellspacing="0">
		<caption>增加水电费信息</caption>
		<tr>
			<td class="staticTd">寝室号：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="dormitory" value='<c:out value="${record.dormitory }"></c:out>' required="true" style="min-width: 100px;" type="text" >
			</td>
		</tr>
		<tr>
			<td class="staticTd">用电量：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="electricity" value='<c:out value="${record.electricity }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
			<td class="staticTd">单价（电/度）：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="electricityPrice" value='<c:out value="${record.electricityPrice }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
		</tr>
		<tr>
			<td class="staticTd">用水量：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="water" value='<c:out value="${record.water }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
			<td class="staticTd">单价（水/升）：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="waterPrice" value='<c:out value="${record.waterPrice }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
		</tr>
		<tr>
			<td class="staticTd">合计：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="combined" value='<c:out value="${record.combined }"></c:out>' required="true" style="min-width: 100px;" type="text" >
				<input id="combinedButton" type="button" value="合计" >
			</td>
			<td class="staticTd">状态：</td>
			<td class="dynamicTd">
				<select id="status" class="easyui-combobox" data-options="editable:false" style="width: 50%;">
					<option value="1" <c:if test="${'1' eq record.status }">selected="selected"</c:if> >未交</option>
					<option value="0" <c:if test="${'0' eq record.status }">selected="selected"</c:if> >已交</option>
				</select>
			</td>
		</tr>
		<tr>
			<td class="staticTd">年份：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="years" value='<c:out value="${record.years }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
			<td class="staticTd">月份：</td>
			<td class="dynamicTd">
				<input class="easyui-textbox" id="month" value='<c:out value="${record.month }"></c:out>' required="true" style="min-width: 200px;" type="text" >
			</td>
		</tr>
		<tfoot>
			<td class="footTd" colspan="4">
				<div class="inlineBlock">  
		            <a id="saveButton" href="#" class="easyui-linkbutton" plain="true" icon="icon-save">保存</a>
		        </div>
			</td>
		</tfoot>
	</table>
	</form>
</div>
</body>
</html>